<template>
  <div class="wrapper">
    <user-list :identity="3" :permission="permission"></user-list>
  </div>
</template>

<script>
import userList from "@/components/UserList/index.vue";

export default {
  name: "",
  components: {
    userList,
  },
  data() {
    return {
      permission: [],
    };
  },
  mounted() {
    this.$getHtmlAuthority(this.$route.path).then(res => {
      console.log(res, "getHtmlAuthority");
      this.permission = res.data.permission;
    })
  },
  methods: {

  },
};
</script>

<style lang="scss" scoped></style>
